

cc.Class({
    extends: cc.Component,

    properties: {

    },

    // LIFE-CYCLE CALLBACKS:

    // onLoad () {},

    start () {
        this.node.getChildByName('台词').getChildByName('对话框').scale = 0
    },
    popLines(){
        if(this.node.getChildByName('台词').getChildByName('对话框').scale == 0){
            this.node.getChildByName('台词').getChildByName('对话框').runAction(cc.sequence(
                cc.scaleTo(0.6,1,1).easing(cc.easeBackOut()),
                cc.delayTime(5),
                cc.scaleTo(0.6,0,0).easing(cc.easeBackIn())
            ))
        }
    }
    // update (dt) {},
});
